import javax.xml.crypto.Data;
import java.util.Arrays;
import java.util.Scanner;
class Classmate
{
    public String name;
    public  int age;
    //public  static int day=10;

//    public static int getDay() {
//        return day;
//    }
//
//    public static void setDay(int day) {
//        Classmate.day = day;
//    }

    @Override
    public String toString() {
        return "Classmate{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public Classmate(String name, int age ) {
        this.name = name;
        this.age = age;
    }

    public void show()
    {
        System.out.println("name:"+name+"age:"+age);
    }
    public  static void func()
    {

        Classmate classmate=new Classmate("lisi",20);
        System.out.println(classmate.name);

    }
}

public class Main {
    public static void main(String[] args) {
        Classmate classmate=new Classmate("lisi",20);
        System.out.println(classmate);
    }
}
